//
//  FMAntorMoreTableViewCell.m
//  PsychologyFM
//
//  Created by 杜建虎 on 16/1/13.
//  Copyright © 2016年 ZhangLuDu. All rights reserved.
//

#import "FMAntorMoreTableViewCell.h"

@implementation FMAntorMoreTableViewCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        _sleepButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _sleepButton.frame = CGRectMake(0, 0, kScreenWidth / 3, kScreenWidth / 3);
        
        [self.contentView addSubview:_sleepButton];
        _sleepLabel = [[UILabel alloc] initWithFrame:CGRectMake(50, 40, kScreenWidth / 3, kScreenWidth / 3)];
        _sleepLabel.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:_sleepLabel];
        
        _travelButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _travelButton.frame = CGRectMake(kScreenWidth / 3, 0, kScreenWidth / 3, kScreenWidth / 3);
        [self.contentView addSubview:_travelButton];
        _travelLabel = [[UILabel alloc] initWithFrame:CGRectMake(kScreenWidth / 3 + 50, 40, kScreenWidth / 3, kScreenWidth / 3)];
        _travelLabel.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:_travelLabel];
        
        _takeButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _takeButton.frame = CGRectMake(kScreenWidth / 3 * 2 , 0, kScreenWidth / 3, kScreenWidth / 3);
        [self.contentView addSubview:_takeButton];
        _takeLabel = [[UILabel alloc] initWithFrame:CGRectMake(kScreenWidth / 3 * 2 + 50, 40, kScreenWidth / 3, kScreenWidth / 3)];
        _takeLabel.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:_takeLabel];
        
        _carButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _carButton.frame = CGRectMake(0, kScreenWidth / 3, kScreenWidth / 3, kScreenWidth / 3);
        [self.contentView addSubview:_carButton];
        _carLabel = [[UILabel alloc] initWithFrame:CGRectMake(50, kScreenWidth / 3 + 40, kScreenWidth / 3, kScreenWidth / 3)];
        _carLabel.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:_carLabel];
        
        _myButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _myButton.frame = CGRectMake(kScreenWidth / 3, kScreenWidth / 3, kScreenWidth / 3, kScreenWidth / 3);
        [self.contentView addSubview:_myButton];
        _myLabel = [[UILabel alloc] initWithFrame:CGRectMake(kScreenWidth / 3 + 50, kScreenWidth / 3 + 40, kScreenWidth / 3, kScreenWidth / 3)];
        _myLabel.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:_myLabel];
        
        
        _lovelornButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _lovelornButton.frame = CGRectMake(kScreenWidth / 3 * 2, kScreenWidth / 3, kScreenWidth / 3, kScreenWidth / 3);
        [self.contentView addSubview:_lovelornButton];
        _lovelornLabel = [[UILabel alloc] initWithFrame:CGRectMake(kScreenWidth / 3 * 2 + 50, kScreenWidth / 3 + 40, kScreenWidth / 3, kScreenWidth / 3)];
        _lovelornLabel.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:_lovelornLabel];
        
        
        
        _noSleepButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _noSleepButton.frame = CGRectMake(0, kScreenWidth / 3 * 2, kScreenWidth / 3, kScreenWidth / 3);
        [self.contentView addSubview:_noSleepButton];
        _noSleepLabel = [[UILabel alloc] initWithFrame:CGRectMake(50, kScreenWidth / 3 * 2 + 40, kScreenWidth / 3, kScreenWidth / 3)];
        _noSleepLabel.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:_noSleepLabel];
        
        
        _atwellButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _atwellButton.frame = CGRectMake(kScreenWidth / 3, kScreenWidth / 3 * 2, kScreenWidth / 3, kScreenWidth / 3);
        [self.contentView addSubview:_atwellButton];
        _atwellLabel = [[UILabel alloc] initWithFrame:CGRectMake(kScreenWidth / 3 + 50, kScreenWidth / 3 * 2 + 40, kScreenWidth / 3, kScreenWidth / 3)];
        _atwellLabel.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:_atwellLabel];
        
        
        _boringButton = [UIButton buttonWithType:(UIButtonTypeCustom)];
        _boringButton.frame = CGRectMake(kScreenWidth / 3 * 2, kScreenWidth / 3 * 2, kScreenWidth / 3 , kScreenWidth / 3);
        [self.contentView addSubview:_boringButton];
        _boringLabel = [[UILabel alloc] initWithFrame:CGRectMake(kScreenWidth / 3 * 2 + 50, kScreenWidth / 3 * 2 + 40, kScreenWidth / 3 , kScreenWidth / 3)];
        _boringLabel.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:_boringLabel];
    }
    return self;
}

@end
